﻿using AutoMapper;
using T_Person.APi.Applation.CommandHandlers.PersonnelHandlers;
using T_Person.Domain;

namespace T_Person.APi.AutoMapper.PersnnelAutoMapper
{
    public class PersnnelWays:Profile
    {
        public PersnnelWays()
        {
            CreateMap<PersonnelAddHandlers, Personnel>().ReverseMap();
            CreateMap<PersonnelUpdateHandlers, Personnel>().ReverseMap();
        }
    }
}
